import {AbstractRemoteService} from './abstractremoteservice';
import {Injectable} from '@angular/core';
import {HttpClient, HttpClientModule, HttpHeaders} from '@angular/common/http';

@Injectable()
export class MinerStatService extends AbstractRemoteService {

  constructor(client: HttpClient) {
    super(client);
  }

  loadStat(coords: any): Promise<any> {
    return this.post('/stat/minerstat', coords);
  }

}
